export default ({ app }) => {
  app.router.beforeEach((to, from, next) => {
    console.log('beforeEach', '可以在这里做全局路由导航守卫', to)
    next()
  })
}